I think immediately bringing up the main menu would be a little abrupt. As it is, you can glare/swear at the monster who killed you before reloading, or do something a little more constructive and make a mental note of where that boss or group of monsters were, to proceed more cautiously next time.